//
//  SNRetunGoodsDataManager.h
//  app
//
//  Created by 王少宁 on 15/5/21.
//  Copyright (c) 2015年 hdaren. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SNReturnGoodsUploadImgHttpResult.h"
#import "SNReturnGoodsRepetitiousModel.h"

@interface SNReturnGoodsDataManager : NSObject
+ (SNReturnGoodsDataManager *)shareManager;
//提交售后原因 - (文字)
/*
 参数需求：
 COOKIE         # 必填
 sn             # 必填，要退换货的订单号
 returnsfor     # 必填，退换货类型；1退货，2换货
 productIDs     # 必填，商品id，多个用|分割   现在改为只能对一个商品进行退换货,因此此处的 productIDs 只有一个值
 contacts       # 选填，联系方式 形式为 联系人|电话号码。
 returnsReason	# 选填，退换货原因的文字描述
 pics           # 选填，第一步时候的 多个uploadString字符串的拼接(多个图片的情况下，用|分割，如 mall/comments/a52e9.jpg,1024,768|mall/comments/addrt.jpg,102,76)
 */

- (void)returnGoodsTextWithResult:(SNReturnGoodsUploadTextHttpResult *)result sn:(NSString *)sn returnsfor:(NSString *)returnsfor productIDs:(NSString *)productIDs contacts:(NSString *)contacts returnsReason:(NSString *)returnsReason pics:(NSString *)pics;

@end




@interface SNReturnGoodsUpLoadPicDataManager : NSObject

+ (SNReturnGoodsUpLoadPicDataManager *)shareManager;
//上传图片
- (void)returnGoodsPicWithResult:(SNReturnGoodsUploadImgHttpResult *)result params:(NSDictionary *)params imageData:(NSData *)image;

@end






@interface SNReturnGoodsRepetitiousDataManager : NSObject

+ (SNReturnGoodsRepetitiousDataManager *)shareManager;
// 多次进行售后申请的数据请求
- (void)returngoodsLoadDataWithResult:(SNReturnGoodsRepetitiousHttpResult *)result sn:(NSString *)sn productId:(NSString *)productId;

@end